clear all
set more off 
cd "$main_dir/data"

********************************************************************************
* treatment/control comparison in appendix table 3

********************************************************************************

clear
set more off
set varabbrev off

use data_for_table_3.dta, clear

local i 1

foreach tempvar in sh_latino sh_black sh_white sh_aa ///
	sh_renter sh_vacant sh_poverty ///
	med_hhinc med_rent med_value tot_ind ///
	sh_coll_ch med_hhinc_ch med_rent_ch med_value_ch tot_ind_ch {

	if `i' == 1 local tempappand replace
	else local tempappend append

	reg `tempvar' treatment
	outreg2 using $temp_dir/table_a3.xls, `tempappend' tstat nocons

	local i = `i' + 1

}
